x86: correctly report max number of hypervisor leaves
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Mon, 2 Jun 2014 08:20:23 +0000 (10:20 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 2 Jun 2014 08:20:23 +0000 (10:20 +0200)
commit03d745c8bfbf45df39eb453ff1e7787b856c4368
tree25fb912c0cc45bc5865288f855f2e3f786abb121
parent071a4c70a634f7d4f74cde4086ff3202968538c9
x86: correctly report max number of hypervisor leaves

Commit def0bbd31 provided support for changing max number of
hypervisor cpuid leaves (in leaf 0x4000xx00). It also made the
hypervisor incorrectly report this number for guests that
use default value (i.e. don't specify leaf 0x4000xx00 in config
file)

Reported-by: Roger Pau Monné <roger.pau@citrix.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
xen/arch/x86/traps.c